package com.hw.collection;

import java.util.Comparator;

public class Minheap<T> extends HeapImpl<T> {

	/*
	 * constructors
	 */
	public Minheap(){
		super();
	}
	public Minheap(int size){
		super(size);
	}
	public Minheap(int size, Comparator<T> com){
		super(size,com);
	}
	/************************************END CONSTRUCTORS***********************/
	/* 
	* COMPARE OBJECTS - IF NO COMPARATOR IS PASSED, THEN USE COMPARABLE.
	 */
	
	public int compareObjects(T e1, T e2){
		return super.compareObjects(e2, e1);
	}

}
